var o = getApp();

Page({
    data: {
        listData: [],
        userInfo: {},
        networkLoading: !1
    },
    onLoad: function(o) {
        this.getData();
    },
    getData: function() {
        var n = this, t = o.getNetAddresss("plugin.school-company.api.school-center");
        o._postNetWork({
            url: t,
            success: function(t) {
                var a = t.data;
                if (1 != a.result) return o.tips(a.msg);
                n.setData({
                    listData: a.data.member_school,
                    userInfo: a.data,
                    networkLoading: !0
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    gotoSchoolCompanyDetails: function(o) {
        var n = o.currentTarget.dataset.item, t = n.school_id, a = n.roles_id;
        wx.navigateTo({
            url: "/packageH/schoolCompany/schoolCompanyDetails/schoolCompanyDetails?school_id=" + t + "&roles_id=" + a
        });
    },
    gotoSchoolCompanyExtend: function() {
        wx.navigateTo({
            url: "/packageH/schoolCompany/schoolCompanyExtend/schoolCompanyExtend"
        });
    },
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});